package com.xu.cloud.sample.api.apis;

import com.xu.cloud.sample.api.dto.DesensitizationResp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * desensitization api
 *
 * @author xuguan
 * @since 2025/3/7
 */
@Api(tags = "脱敏示例接口")
@FeignClient(name = "xu-cloud-sample-api", url = "http://localhost:8080", path = "/api")
public interface DesensitizationApi {

    @ApiOperation(value = "脱敏示例方法")
    @GetMapping("/desensitization")
    DesensitizationResp desensitization();
}
